package com.kaluli.project.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Service;

import com.kaluli.project.domain.entity.KllZZMessage;
import com.kaluli.project.repository.impl.KllZZMessageRepositoryImpl;

@Service
@Configuration
public class KllZZMessageService extends CommonService{
	

	@Autowired
	private KllZZMessageRepositoryImpl kllZZMessaRepository;
	
	
	
	public Long saveMessage(final KllZZMessage message){
		final Long id = (Long)kllZZMessaRepository.save(message);
		
		return id;
	}
	
	
}
